package com.totoro.mapstruct.mapstruct_qualified.mapper;

import org.mapstruct.Named;

/**
 * Created by Niki on 2018/9/28 16:45
 */
@Named("TitleTranslator")
public class TitleUtil {

    @Named("English")
    public String translateTitleEG(String title) {
        return "英文标题" + title;
    }

    @Named("German")
    public String translateTitleGE(String title) {
        return "德文标题" + title;
    }

}
